package com.hedl.studyandjava8.test.entity;

/**
 * @author Big Watermelon
 * @description
 * @date 2024/02/17/11:17
 */
public enum Car {
    lamborghini(900),
    tata(2),
    audi(50),
    fiat(15),
    honda(12),
    ;

    private Integer price;

    Car(Integer price){
        this.price = price;
    }

    public Integer getPrice(){
        return price;
    }
}
